package com.jmex.physics.impl.jbullet;

import com.bulletphysics.dynamics.RigidBody;
import com.jme.math.Quaternion;
import com.jme.math.Vector3f;
import com.jme.scene.Node;

public interface JBulletPhysicsNode {

	public RigidBody getBody();

	public Quaternion getLocalRotation();
	public Vector3f getLocalTranslation();
	public void setLocalRotation(Quaternion q, boolean isInternal);
	public void setLocalTranslation(Vector3f vec, boolean isInternal);
	public Quaternion getWorldRotation();
	public Vector3f getWorldTranslation();
	
	public void updateWorldVectors();
	
	public Node getParent();
	public void rebuildRigidBody();
	public void correctInterpolationsForNonPhysicsMovement();
	
	public boolean isDirty();
	public void setDirty(boolean value);
}
